<div class="base">
    <?php if(!isset($bannerList) || empty($bannerList) || empty($bannerList['data'])):?>
    <img class="ibox" src="http://www.baffedu.com/bfyy/Uploads/Picture/2016-07-21/579093980ca42.jpg" />
    <?php else:?>
    <volist name="bannerList['data']" id="vo">
        <img class="ibox" src="{$vo['image_url']}" title="{$vo.title}" />
    </volist>
    <?php endif;?>
</div>
<div class="base mt10 pb50">
    <div class="main mt10">
        <div class="base basleft">
            <ul class="base navlist">
                <volist name="parentCategoryList" id="vo">
                    <li class="<eq name='parentCategoryInfo.id' value='$vo.id'>active</eq>">
                        <a href="{:getListUrl($vo['id'], strtolower(CONTROLLER_NAME))}" title="{$vo['title']}" class="cour">{$vo['title']}</a>
                    </li>
                </volist>
            </ul>
        </div>

        <div class="arecont">
            <div class="base area_nav">
                <span class="spcont">{$parentCategoryInfo['title']}</span>
                <ul class="icatys">
                    <volist name="categoryList" id="vo">
                        <li class="<eq name='categoryInfo.id' value='$vo.id'>active</eq>"><a href="{:getListUrl($vo['id'], strtolower(CONTROLLER_NAME))}" title="{$vo['title']}">{$vo['title']}</a></li>
                    </volist>
                </ul>
            </div>
            <ul class="base items">
                <volist name="list" id="vo">
                    <li><a href="{:getDetailUrl($vo['id'], strtolower(CONTROLLER_NAME))}" target="_blank" title="{$vo['title']}">{$vo['title']}</a><em>{:date('Y-m-d H:i', $vo['create_time'])}</em></li>
                </volist>
            </ul>
        </div>
    </div>
</div>